﻿package mortal.game.view.mainUI.Navbar
{
    import com.mui.controls.*;
    import flash.display.*;
    import mortal.game.view.common.*;

    public class NavbarBaseIcon extends Sprite
    {
        protected var _button:GLoadedButton;

        public function NavbarBaseIcon()
        {
            this.configUI();
            this.addListerner();
            return;
        }// end function

        protected function configUI() : void
        {
            this.mouseEnabled = false;
            this.mouseChildren = true;
            return;
        }// end function

        protected function addListerner() : void
        {
            return;
        }// end function

        public function setStyle(param1:String, param2:int, param3:int) : GLoadedButton
        {
            this._button = UIFactory.gLoadedButton(param1, 0, 0, param2, param3, null);
            this.addChildAt(this._button, 0);
            return this._button;
        }// end function

    }
}
